import request from "../request.js";
// 平台公告列表
export function noticeList(data) {
	return request.get('/digital-mall/api/notice/notice/list', data)
}
// 最新资讯列表
export function newsList(data) {
	return request.get('/digital-mall/api/news/news/list', data)
}
// 最新资讯-通过id查询
export function newsQueryById(data) {
	return request.get('/digital-mall/api/news/news/queryById', data)
}
// 币种-链名称列表
export function getCoinNetworkList(data) {
	return request.get('/digital-mall/api/recharge/getCoinNetworkList', data)
}
// 币种列表 
export function getCoinTypeList(data) {
	return request.get('/digital-mall/api/recharge/getCoinTypeList', data)
}
// 充值申请 
export function rechargeAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/recharge/add', data)
}
// 充值状态列表 
export function rechargeRecharge_status(data) {
	return request.get('/digital-mall/api/recharge/recharge_status', data)
}
// 充值记录 
export function rechargeList(data) {
	return request.get('/digital-mall/api/recharge/list', data)
}
// 划转状态列表 
export function getTransferStatusList(data) {
	return request.get('/digital-mall/api/transfer/transfer/getTransferStatusList', data)
}
// 划转申请 
export function transferAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/transfer/transfer/add', data)
}
// 划转记录 
export function transferList(data) {
	return request.get('/digital-mall/api/transfer/transfer/list', data)
}
// 现货价-BTC 
export function marketsBTC(data) {
	return request.get('/digital-mall/api/coinglass/pairs_markets/BTC', data)
}
// 现货价-ETH 
export function marketsETH(data) {
	return request.get('/digital-mall/api/coinglass/pairs_markets/ETH', data)
}
// 多空比-BTC 
export function takerBuySellVolumeBTC(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/coinglass/takerBuySellVolume/BTC', data)
}
// 多空比-ETH 
export function takerBuySellVolumeETH(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/coinglass/takerBuySellVolume/ETH', data)
}
// 提现申请 
export function withdrawAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/withdraw/withdraw/add', data)
}
// 提现状态列表 
export function getWithdrawStatusList(data) {
	return request.get('/digital-mall/api/withdraw/withdraw/getWithdrawStatusList', data)
}
// 提现记录 
export function withdrawList(data) {
	return request.get('/digital-mall/api/withdraw/withdraw/list', data)
}
// 提现地址-添加 
export function withdrawAddressAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/withdraw/withdrawAddress/add', data)
}
// 提现地址-通过id删除 
export function withdrawAddressDelete(data) {
	return request.get('/digital-mall/api/withdraw/withdrawAddress/delete', data)
}
// 提现地址-编辑 
export function withdrawAddressEdit(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/withdraw/withdrawAddress/edit', data)
}
// 提现地址-分页列表查询 
export function withdrawAddressList(data) {
	return request.get('/digital-mall/api/withdraw/withdrawAddress/list', data)
}
// 提现地址-通过id查询 
export function withdrawAddressQueryById(data) {
	return request.get('/digital-mall/api/withdraw/withdrawAddress/queryById', data)
}
// 提现地址-设置默认 
export function withdrawAddressSetDefaultAddress(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/withdraw/withdrawAddress/setDefaultAddress', data)
}
// 会员等级-分页列表查询 
export function membershipLevelList(data) {
	return request.get('/digital-mall/api/mumbership/membershipLevel/list', data)
}
// 当前BTC指数价
export function activityRuleBTC_USDT_PRICE(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/activity/activityRule/BTC_USDT_PRICE', data)
}
// 活动规则 
export function activityRuleList(data) {
	return request.get('/digital-mall/api/activity/activityRule/list', data)
}
// 参与活动 
export function activityDetailAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/activity/activityDetail/add', data)
}
// 客户参与活动列表 
export function activityDetailList(data) {
	return request.get('/digital-mall/api/activity/activityDetail/list', data)
}
// 客户参与活动日历
export function activityDetailCalendarList(data) {
	return request.get('/digital-mall/api/activity/activityDetail/calendar', data)
}
// 活动-连胜天数统计 
export function activityStatisticsQuery(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/statistics/activityStatistics/query', data)
}
// 活动-获奖公告 
export function activityRewardNoticeList(data) {
	return request.get('/digital-mall/api/notice/activityRewardNotice/list', data)
}
// 活动奖励记录 
export function activityRewardList(data) {
	return request.get('/digital-mall/api/reward/activityReward/list', data)
}
// 看涨或看跌比率 
export function activityDetailQueryRate(data) {
	return request.get('/digital-mall/api/activity/activityDetail/queryRate', data)
}
// 查看你猜结果 
export function activityDetailQueryResult(data) {
	return request.get('/digital-mall/api/activity/activityDetail/queryResult', data)
}
// 平台套利-
// 最小倍数与费率 
export function arbitrage_fee_rate(data) {
	return request.get('/digital-mall/api/arbitrage/arbitrage/arbitrage_fee_rate', data)
}
// 创建订单 
export function arbitrageAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/arbitrage/arbitrage/add', data)
}
// 订单记录 
export function arbitrageList(data) {
	return request.get('/digital-mall/api/arbitrage/arbitrage/list', data)
}
// 流动性储蓄池-
// 储蓄池总额 
export function totalAmount(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/liquidity/liquidityCistern/totalAmount', data)
}
// 存入期限-收益率 
export function periodYield(data) {
	return request.get('/digital-mall/api/liquidity/liquidityCistern/period_yield', data)
}
// 额度限制 
export function liquidityCisternQuota(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/liquidity/liquidityCistern/quota', data)
}
// 开放时间
export function liquidityCisternOpendate(data) {
	return request.get('/digital-mall/api/liquidity/liquidityCistern/opendate', data)
}
// 立即存入 
export function liquidityCisternAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/liquidity/liquidityCistern/add', data)
}
// 交易记录 
export function liquidityCisternList(data) {
	return request.get('/digital-mall/api/liquidity/liquidityCistern/list', data)
}
// 到期收益曲线
export function liquidityCisternYieldAmount(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/liquidity/liquidityCistern/yieldAmount', data)
}
// 期权-
// 期权行情-BTC-ETH
export function optionsOptionsMarkets(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/options/options/optionsMarkets', data)
}
// K线数据-BTC-ETH
export function coinglassOhlc_history(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/coinglass/ohlc_history', data)
}
// 购买期权
export function optionsAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/options/options/add', data)
}
// 期权订单记录
export function optionsList(data) {
	return request.get('/digital-mall/api/options/options/list', data)
}
// 立即平仓 
export function close_position(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/options/options/close_position', data)
}
// 期权订单状态
export function optionsOrderStatus(data) {
	return request.get('/digital-mall/api/options/options/options_order_status', data)
}
// BTC-USDT当前价格
export function BTC_USDT_PRICE(data) {
	return request.get('/digital-mall/api/coinglass/BTC_USDT_PRICE', data)
}
// ETH-USDT当前价格 
export function ETH_USDT_PRICE(data) {
	return request.get('/digital-mall/api/coinglass/ETH_USDT_PRICE', data)
}
// 现货秒交易-
// 现货手续费率 
export function spot_fee_rate(data) {
	return request.get('/digital-mall/api/spotbuy/spotBuy/spot_fee_rate', data)
}
// 立即交易
export function spotBuyAdd(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/spotbuy/spotBuy/add', data)
}
// 交易记录 
export function spotBuyList(data) {
	return request.get('/digital-mall/api/spotbuy/spotBuy/list', data)
}
// 现货交易规则
export function spotBuyRule(data) {
	return request.get('/digital-mall/api/spotbuy/spotBuy/rule', data)
}

// 用户协议 
export function aboutAgreement(data) {
	return request.get('/digital-mall/ignore/auth/api/about/agreement', data)
}
// 法律声明 
export function aboutLegal(data) {
	return request.get('/digital-mall/ignore/auth/api/about/legal', data)
}
// 平台介绍 
export function aboutPlatform(data) {
	return request.get('/digital-mall/ignore/auth/api/about/platform', data)
}
// 隐私条款 
export function aboutPrivacy(data) {
	return request.get('/digital-mall/ignore/auth/api/about/privacy', data)
}
// 邀请规则 
export function inviteInviteRule(data) {
	return request.get('/digital-mall/api/invite/inviteRule', data)
}

// 设置用户头像 
export function loginAvatarImg(data) {
	data.isArray = 1;
	return request.post('/digital-mall/ignore/auth/api/general/login/avatarImg', data)
}
// 帮助文章列表 
export function helpList(data) {
	return request.get('/digital-mall/ignore/auth/api/help/list', data)
}
// 新手必读 
export function helpBeginners(data) {
	return request.get('/digital-mall/ignore/auth/api/help/beginners', data)
}
// 账户及安全 
export function accountSecurity(data) {
	return request.get('/digital-mall/ignore/auth/api/help/accountSecurity', data)
}
// 防骗专栏 
export function helpFraud(data) {
	return request.get('/digital-mall/ignore/auth/api/help/fraud', data)
}
// 冲提币 
export function helpWithdrawal(data) {
	return request.get('/digital-mall/ignore/auth/api/help/withdrawal', data)
}
// 买卖数字资产 
export function helpBuySell(data) {
	return request.get('/digital-mall/ignore/auth/api/help/buySell', data)
}
// 交易 
export function helpTrade(data) {
	return request.get('/digital-mall/ignore/auth/api/help/trade', data)
}
// 生成二维码
export function generateQRCode(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/invite/generateQRCode', data)
}
// 充值二维码 
export function rechargeQrcodeList(data) {
	return request.get('/digital-mall/api/qrcode/rechargeQrcode/list', data)
}
// 已邀请人数 
export function inviteCount(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/invite/inviteCount', data)
}
// 直接邀请人数 
export function directInviteCount(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/invite/directInviteCount', data)
}
// 链接 
export function externalLinkList(data) {
	return request.get('/digital-mall/ignore/auth/api/link/externalLink/list', data)
}
// 最小提现金额 
export function getMinWithdrawAmount(data) {
	return request.get('/digital-mall/api/withdraw/withdraw/getMinWithdrawAmount', data)
}
// 会员充值记录
export function vipRecordList(data) {
	return request.get('/digital-mall/api/mumbership/membershipLevel/recordList', data)
}
// 轮播图列表 
export function carouselList(data) {
	return request.get('/digital-mall/general/carousel/list', data)
}
//  期权币种
export function newOptionsCoinType(data) {
	return request.get('/digital-mall/api/options/options/newOptionsCoinType', data)
}
// 期权对错利润
export function newOptionsProfitLoss(data) {
	return request.get('/digital-mall/api/options/options/newOptionsProfitLoss', data)
}
// 新期权开市时间段
export function newOptionsOpenCondition(data) {
	return request.get('/digital-mall/api/options/options/newOptionsOpenCondition', data)
}
// 期权价格列表
export function newOptionsBuyAmount(data) {
	return request.get('/digital-mall/api/options/options/newOptionsBuyAmount', data)
}
// 期权下注占比
export function stakeProportion(data) {
	return request.get('/digital-mall/api/options/options/stakeProportion', data)
}
// 期权分钟数
export function newOptionsSettlement(data) {
	return request.get('/digital-mall/api/options/options/newOptionsSettlement', data)
}
// 期权闭市提前时间
export function newOptionsMinute(data) {
	return request.get('/digital-mall/api/options/options/newOptionsMinute', data)
}
// 资产分析页面数据
export function assetAmountSelect(data) {
	data.isArray = 1;
	return request.post('/digital-mall/api/asset/assetAmountSelect', data)
}
// 期权开市时间
export function newOptionsOpenTime(data) {
	return request.get('/digital-mall/api/options/options/newOptionsOpenTime', data)
}
// 竞猜开市结束时间 
export function getActivityTime(data) {
	return request.get('/digital-mall/api/activity/activityDetail/getActivityTime', data)
}












